package top.songxs.gmall.common.anno;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface GmallCache {
    public String cacheKey() ;  //缓存的key
    public String  bloomFilterName() default ""; //布隆过滤器的名称
    public String  bloomFilterValue() default ""; //布隆过滤器的值
    public String lockName() default "";  //锁的名字
    public boolean cacheAble() default true;

}
